package com.itcast.java.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 会员登录记录实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:27:34
 */
@Data
@TableName("ums_member_login_log")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UmsMemberLoginLogEntity对象", description = "会员登录记录")
public class UmsMemberLoginLogEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "member_id")
    @TableField("member_id")
        private Long memberId;

        @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
        private Date createTime;

        @ApiModelProperty(value = "ip")
    @TableField("ip")
        private String ip;

        @ApiModelProperty(value = "city")
    @TableField("city")
        private String city;

        @ApiModelProperty(value = "登录类型[1-web，2-app]")
    @TableField("login_type")
        private Boolean loginType;

        }